package com.connor.bs.plm.handlers;

import org.eclipse.core.commands.AbstractHandler;
import org.eclipse.core.commands.ExecutionEvent;
import org.eclipse.core.commands.ExecutionException;

import com.connor.bs.plm.actions.ClassificationAction;
import com.connor.bs.plm.actions.ProjectQualityAction;
import com.teamcenter.rac.aif.AbstractAIFApplication;
import com.teamcenter.rac.aifrcp.AIFUtility;
import com.teamcenter.rac.kernel.TCComponent;
import com.teamcenter.rac.kernel.TCException;
import com.teamcenter.rac.util.MessageBox;

public class ProjectQualityHandler extends AbstractHandler {

	@Override
	public Object execute(ExecutionEvent arg0) throws ExecutionException {
		// TODO Auto-generated method stub
		AbstractAIFApplication app=AIFUtility.getCurrentApplication();
		System.out.println(111);
		new Thread(new ProjectQualityAction(app, null)).run();
		return null;
	}

}
